﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.AdminPageBase" %>
<section data-page="goods_add" data-title="添加商品">
	<div class="path1"><span>您的位置：</span>添加商品</div>
	<form action="" class="post">
		<div class="post-body">
			<table class="post-table">
				<tr>
					<th>名称：</th>
					<td><input type="text" name="Name" size="60" maxlength="255" class="ali-input ali-input-required <%=ContentLang%>Font"></td>
				</tr>
				<tr>
					<th>类别：</th>
					<td>
						<select name="CategoryID" class="<%=ContentLang%>Font" data-ali-widget="combo" data-tree="true" data-root="0">
							<option value="" data-item="" data-parent="0" data-name="" data-page-generate="" data-page-template="" data-page-id="" data-page-extension="">未指定</option>
							<ali:Tree Object="GoodsCategory">
								<ali:Record>
									<option value="<%=ID%>" data-item="<%=ParentChain%>.<%=InnerID%>" data-parent="<%=ParentChain%>" data-name="<%=Name%>" data-page-generate="<%=PageGenerate%>" data-page-template="<%=PageTemplate%>" data-page-id="<%=PageID%>" data-page-extension="<%=PageExtension%>"><%=Name%></option>
									<%=ChildRecords%>
								</ali:Record>
							</ali:Tree>
						</select>
					</td>
				</tr>
				<tr>
					<th>价格：</th>
					<td>
						销售价：<input type="text" name="SalePrice" value="0.00" size="10" class="ali-input">
						市场价：<input type="text" name="MarketPrice" value="0.00" size="10" class="ali-input">
					</td>
				</tr>
				<tr>
					<th>图片：</th>
					<td>
						<input type="text" name="Picture" size="55" class="ali-input">
						<a class="ali-button ali-uploader">浏览...</a>
						<input type="hidden" name="PictureAllowedType" value="gif|jpg|jpeg|png|bmp">
					</td>
				</tr>
				<tr>
					<th>内容：</th>
					<td>
						<textarea name="Description" data-lang="<%=ContentLang%>" data-instance-id="<%=InstanceID%>" class="editor"></textarea>
					</td>
				</tr>
			</table>
		</div>
		<div class="post-footer"><button type="submit" class="ali-button">保 存</button></div>
	</form>
</section>